package com.example.dao;

import com.example.model.pojo.ProblemTag;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description //TODO
 * @Date 2022/9/13 19:11
 * @Author lonng
 **/
public interface ProblemTagDao extends JpaRepository<ProblemTag,Integer> {
    List<ProblemTag> findAllByTid(Integer tid);

    List<ProblemTag> findAllByPid(Integer pid);

}
